<?php
/**
 * The template for displaying all pages.
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site will use a
 * different template.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */

get_header(); ?>

<div class="center_wrapper">
		<div class="main_content">
			
			<div class="banner">
				<div id="homeslider" style="height:347px;">
					<?php 
						wp_display_banner();
					?>
				</div>
			</div>
			<div class="shadow"></div>
	
			<div class="group">
				<div class="front_column1 left">
					<div><img src="<?php bloginfo( 'template_url' ); ?>/images/content_logo.png" alt="content logo" /></div>
					
					<div  class="padding15px">
						<?php // The Query
						$the_query = new WP_Query( array('page_id'=>23 ) );

						// The Loop
						while ( $the_query->have_posts() ) : $the_query->the_post(); 
						?>
							<h1 class="entry-title"><?php the_title(); ?></h1>
							<div>
								<?php the_content(); ?>
							</div>
						<?php 
						endwhile; // end of the loop. 
						wp_reset_postdata();
						?>
					</div>
				</div>
				<div class="front_column2 right">
					<div class="font20px">Our <span class="bold">Clients Video</span></div>
					<div><iframe width="312" height="230" src="<?php echo get_option('wp_youtube_frontpage'); ?>" frameborder="0" allowfullscreen></iframe></div>
					<div class="view_more"><a href="<?php bloginfo('url');?>/videos">view more</a></div>
				</div>
			</div>
			
	</div>
</div>						
	
<?php get_footer(); ?>		